
swap:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 92 2f 00 00    	pushq  0x2f92(%rip)        # 3fb8 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 93 2f 00 00 	bnd jmpq *0x2f93(%rip)        # 3fc0 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop

Disassembly of section .plt.got:

0000000000001050 <__cxa_finalize@plt>:
    1050:	f3 0f 1e fa          	endbr64 
    1054:	f2 ff 25 9d 2f 00 00 	bnd jmpq *0x2f9d(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    105b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

0000000000001060 <__stack_chk_fail@plt>:
    1060:	f3 0f 1e fa          	endbr64 
    1064:	f2 ff 25 5d 2f 00 00 	bnd jmpq *0x2f5d(%rip)        # 3fc8 <__stack_chk_fail@GLIBC_2.4>
    106b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001070 <printf@plt>:
    1070:	f3 0f 1e fa          	endbr64 
    1074:	f2 ff 25 55 2f 00 00 	bnd jmpq *0x2f55(%rip)        # 3fd0 <printf@GLIBC_2.2.5>
    107b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

0000000000001080 <_start>:
    1080:	f3 0f 1e fa          	endbr64 
    1084:	31 ed                	xor    %ebp,%ebp
    1086:	49 89 d1             	mov    %rdx,%r9
    1089:	5e                   	pop    %rsi
    108a:	48 89 e2             	mov    %rsp,%rdx
    108d:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    1091:	50                   	push   %rax
    1092:	54                   	push   %rsp
    1093:	4c 8d 05 c6 03 00 00 	lea    0x3c6(%rip),%r8        # 1460 <__libc_csu_fini>
    109a:	48 8d 0d 4f 03 00 00 	lea    0x34f(%rip),%rcx        # 13f0 <__libc_csu_init>
    10a1:	48 8d 3d bd 01 00 00 	lea    0x1bd(%rip),%rdi        # 1265 <main>
    10a8:	ff 15 32 2f 00 00    	callq  *0x2f32(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    10ae:	f4                   	hlt    
    10af:	90                   	nop

00000000000010b0 <deregister_tm_clones>:
    10b0:	48 8d 3d 59 2f 00 00 	lea    0x2f59(%rip),%rdi        # 4010 <__TMC_END__>
    10b7:	48 8d 05 52 2f 00 00 	lea    0x2f52(%rip),%rax        # 4010 <__TMC_END__>
    10be:	48 39 f8             	cmp    %rdi,%rax
    10c1:	74 15                	je     10d8 <deregister_tm_clones+0x28>
    10c3:	48 8b 05 0e 2f 00 00 	mov    0x2f0e(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    10ca:	48 85 c0             	test   %rax,%rax
    10cd:	74 09                	je     10d8 <deregister_tm_clones+0x28>
    10cf:	ff e0                	jmpq   *%rax
    10d1:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    10d8:	c3                   	retq   
    10d9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000010e0 <register_tm_clones>:
    10e0:	48 8d 3d 29 2f 00 00 	lea    0x2f29(%rip),%rdi        # 4010 <__TMC_END__>
    10e7:	48 8d 35 22 2f 00 00 	lea    0x2f22(%rip),%rsi        # 4010 <__TMC_END__>
    10ee:	48 29 fe             	sub    %rdi,%rsi
    10f1:	48 89 f0             	mov    %rsi,%rax
    10f4:	48 c1 ee 3f          	shr    $0x3f,%rsi
    10f8:	48 c1 f8 03          	sar    $0x3,%rax
    10fc:	48 01 c6             	add    %rax,%rsi
    10ff:	48 d1 fe             	sar    %rsi
    1102:	74 14                	je     1118 <register_tm_clones+0x38>
    1104:	48 8b 05 e5 2e 00 00 	mov    0x2ee5(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    110b:	48 85 c0             	test   %rax,%rax
    110e:	74 08                	je     1118 <register_tm_clones+0x38>
    1110:	ff e0                	jmpq   *%rax
    1112:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    1118:	c3                   	retq   
    1119:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001120 <__do_global_dtors_aux>:
    1120:	f3 0f 1e fa          	endbr64 
    1124:	80 3d e5 2e 00 00 00 	cmpb   $0x0,0x2ee5(%rip)        # 4010 <__TMC_END__>
    112b:	75 2b                	jne    1158 <__do_global_dtors_aux+0x38>
    112d:	55                   	push   %rbp
    112e:	48 83 3d c2 2e 00 00 	cmpq   $0x0,0x2ec2(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    1135:	00 
    1136:	48 89 e5             	mov    %rsp,%rbp
    1139:	74 0c                	je     1147 <__do_global_dtors_aux+0x27>
    113b:	48 8b 3d c6 2e 00 00 	mov    0x2ec6(%rip),%rdi        # 4008 <__dso_handle>
    1142:	e8 09 ff ff ff       	callq  1050 <__cxa_finalize@plt>
    1147:	e8 64 ff ff ff       	callq  10b0 <deregister_tm_clones>
    114c:	c6 05 bd 2e 00 00 01 	movb   $0x1,0x2ebd(%rip)        # 4010 <__TMC_END__>
    1153:	5d                   	pop    %rbp
    1154:	c3                   	retq   
    1155:	0f 1f 00             	nopl   (%rax)
    1158:	c3                   	retq   
    1159:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001160 <frame_dummy>:
    1160:	f3 0f 1e fa          	endbr64 
    1164:	e9 77 ff ff ff       	jmpq   10e0 <register_tm_clones>

0000000000001169 <swap>:
    1169:	f3 0f 1e fa          	endbr64 
    116d:	55                   	push   %rbp
    116e:	48 89 e5             	mov    %rsp,%rbp
    1171:	48 83 ec 20          	sub    $0x20,%rsp
    1175:	89 7d ec             	mov    %edi,-0x14(%rbp)
    1178:	89 75 e8             	mov    %esi,-0x18(%rbp)
    117b:	8b 55 e8             	mov    -0x18(%rbp),%edx
    117e:	8b 45 ec             	mov    -0x14(%rbp),%eax
    1181:	89 c6                	mov    %eax,%esi
    1183:	48 8d 3d 7a 0e 00 00 	lea    0xe7a(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    118a:	b8 00 00 00 00       	mov    $0x0,%eax
    118f:	e8 dc fe ff ff       	callq  1070 <printf@plt>
    1194:	8b 45 ec             	mov    -0x14(%rbp),%eax
    1197:	89 45 fc             	mov    %eax,-0x4(%rbp)
    119a:	8b 45 e8             	mov    -0x18(%rbp),%eax
    119d:	89 45 ec             	mov    %eax,-0x14(%rbp)
    11a0:	8b 45 fc             	mov    -0x4(%rbp),%eax
    11a3:	89 45 e8             	mov    %eax,-0x18(%rbp)
    11a6:	8b 55 e8             	mov    -0x18(%rbp),%edx
    11a9:	8b 45 ec             	mov    -0x14(%rbp),%eax
    11ac:	89 c6                	mov    %eax,%esi
    11ae:	48 8d 3d 4f 0e 00 00 	lea    0xe4f(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    11b5:	b8 00 00 00 00       	mov    $0x0,%eax
    11ba:	e8 b1 fe ff ff       	callq  1070 <printf@plt>
    11bf:	90                   	nop
    11c0:	c9                   	leaveq 
    11c1:	c3                   	retq   

00000000000011c2 <errswap>:
    11c2:	f3 0f 1e fa          	endbr64 
    11c6:	55                   	push   %rbp
    11c7:	48 89 e5             	mov    %rsp,%rbp
    11ca:	48 89 7d e8          	mov    %rdi,-0x18(%rbp)
    11ce:	48 89 75 e0          	mov    %rsi,-0x20(%rbp)
    11d2:	48 c7 45 f8 00 00 00 	movq   $0x0,-0x8(%rbp)
    11d9:	00 
    11da:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    11de:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    11e2:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    11e6:	48 89 45 e8          	mov    %rax,-0x18(%rbp)
    11ea:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    11ee:	48 89 45 e0          	mov    %rax,-0x20(%rbp)
    11f2:	90                   	nop
    11f3:	5d                   	pop    %rbp
    11f4:	c3                   	retq   

00000000000011f5 <pswap>:
    11f5:	f3 0f 1e fa          	endbr64 
    11f9:	55                   	push   %rbp
    11fa:	48 89 e5             	mov    %rsp,%rbp
    11fd:	48 89 7d e8          	mov    %rdi,-0x18(%rbp)
    1201:	48 89 75 e0          	mov    %rsi,-0x20(%rbp)
    1205:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    1209:	8b 00                	mov    (%rax),%eax
    120b:	89 45 fc             	mov    %eax,-0x4(%rbp)
    120e:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    1212:	8b 10                	mov    (%rax),%edx
    1214:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    1218:	89 10                	mov    %edx,(%rax)
    121a:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    121e:	8b 55 fc             	mov    -0x4(%rbp),%edx
    1221:	89 10                	mov    %edx,(%rax)
    1223:	90                   	nop
    1224:	5d                   	pop    %rbp
    1225:	c3                   	retq   

0000000000001226 <ppswap>:
    1226:	f3 0f 1e fa          	endbr64 
    122a:	55                   	push   %rbp
    122b:	48 89 e5             	mov    %rsp,%rbp
    122e:	48 89 7d e8          	mov    %rdi,-0x18(%rbp)
    1232:	48 89 75 e0          	mov    %rsi,-0x20(%rbp)
    1236:	48 c7 45 f8 00 00 00 	movq   $0x0,-0x8(%rbp)
    123d:	00 
    123e:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    1242:	48 8b 00             	mov    (%rax),%rax
    1245:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1249:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    124d:	48 8b 10             	mov    (%rax),%rdx
    1250:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    1254:	48 89 10             	mov    %rdx,(%rax)
    1257:	48 8b 45 e0          	mov    -0x20(%rbp),%rax
    125b:	48 8b 55 f8          	mov    -0x8(%rbp),%rdx
    125f:	48 89 10             	mov    %rdx,(%rax)
    1262:	90                   	nop
    1263:	5d                   	pop    %rbp
    1264:	c3                   	retq   

0000000000001265 <main>:
    1265:	f3 0f 1e fa          	endbr64 
    1269:	55                   	push   %rbp
    126a:	48 89 e5             	mov    %rsp,%rbp
    126d:	41 55                	push   %r13
    126f:	41 54                	push   %r12
    1271:	53                   	push   %rbx
    1272:	48 83 ec 38          	sub    $0x38,%rsp
    1276:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    127d:	00 00 
    127f:	48 89 45 d8          	mov    %rax,-0x28(%rbp)
    1283:	31 c0                	xor    %eax,%eax
    1285:	c7 45 c0 03 00 00 00 	movl   $0x3,-0x40(%rbp)
    128c:	c7 45 c4 04 00 00 00 	movl   $0x4,-0x3c(%rbp)
    1293:	48 8d 45 c0          	lea    -0x40(%rbp),%rax
    1297:	48 89 45 c8          	mov    %rax,-0x38(%rbp)
    129b:	48 8d 45 c4          	lea    -0x3c(%rbp),%rax
    129f:	48 89 45 d0          	mov    %rax,-0x30(%rbp)
    12a3:	8b 55 c4             	mov    -0x3c(%rbp),%edx
    12a6:	8b 45 c0             	mov    -0x40(%rbp),%eax
    12a9:	89 d6                	mov    %edx,%esi
    12ab:	89 c7                	mov    %eax,%edi
    12ad:	e8 b7 fe ff ff       	callq  1169 <swap>
    12b2:	8b 55 c4             	mov    -0x3c(%rbp),%edx
    12b5:	8b 45 c0             	mov    -0x40(%rbp),%eax
    12b8:	89 c6                	mov    %eax,%esi
    12ba:	48 8d 3d 52 0d 00 00 	lea    0xd52(%rip),%rdi        # 2013 <_IO_stdin_used+0x13>
    12c1:	b8 00 00 00 00       	mov    $0x0,%eax
    12c6:	e8 a5 fd ff ff       	callq  1070 <printf@plt>
    12cb:	48 8d 55 c4          	lea    -0x3c(%rbp),%rdx
    12cf:	48 8d 45 c0          	lea    -0x40(%rbp),%rax
    12d3:	48 89 d6             	mov    %rdx,%rsi
    12d6:	48 89 c7             	mov    %rax,%rdi
    12d9:	e8 e4 fe ff ff       	callq  11c2 <errswap>
    12de:	8b 55 c4             	mov    -0x3c(%rbp),%edx
    12e1:	8b 45 c0             	mov    -0x40(%rbp),%eax
    12e4:	89 c6                	mov    %eax,%esi
    12e6:	48 8d 3d 3c 0d 00 00 	lea    0xd3c(%rip),%rdi        # 2029 <_IO_stdin_used+0x29>
    12ed:	b8 00 00 00 00       	mov    $0x0,%eax
    12f2:	e8 79 fd ff ff       	callq  1070 <printf@plt>
    12f7:	48 8d 55 c4          	lea    -0x3c(%rbp),%rdx
    12fb:	48 8d 45 c0          	lea    -0x40(%rbp),%rax
    12ff:	48 89 d6             	mov    %rdx,%rsi
    1302:	48 89 c7             	mov    %rax,%rdi
    1305:	e8 eb fe ff ff       	callq  11f5 <pswap>
    130a:	8b 55 c4             	mov    -0x3c(%rbp),%edx
    130d:	8b 45 c0             	mov    -0x40(%rbp),%eax
    1310:	89 c6                	mov    %eax,%esi
    1312:	48 8d 3d 29 0d 00 00 	lea    0xd29(%rip),%rdi        # 2042 <_IO_stdin_used+0x42>
    1319:	b8 00 00 00 00       	mov    $0x0,%eax
    131e:	e8 4d fd ff ff       	callq  1070 <printf@plt>
    1323:	48 8d 55 d0          	lea    -0x30(%rbp),%rdx
    1327:	48 8d 45 c8          	lea    -0x38(%rbp),%rax
    132b:	48 89 d6             	mov    %rdx,%rsi
    132e:	48 89 c7             	mov    %rax,%rdi
    1331:	e8 f0 fe ff ff       	callq  1226 <ppswap>
    1336:	8b 55 c4             	mov    -0x3c(%rbp),%edx
    1339:	8b 45 c0             	mov    -0x40(%rbp),%eax
    133c:	89 c6                	mov    %eax,%esi
    133e:	48 8d 3d fd 0c 00 00 	lea    0xcfd(%rip),%rdi        # 2042 <_IO_stdin_used+0x42>
    1345:	b8 00 00 00 00       	mov    $0x0,%eax
    134a:	e8 21 fd ff ff       	callq  1070 <printf@plt>
    134f:	41 bd 03 00 00 00    	mov    $0x3,%r13d
    1355:	4c 8b 65 c8          	mov    -0x38(%rbp),%r12
    1359:	48 8b 5d d0          	mov    -0x30(%rbp),%rbx
    135d:	41 0f b6 04 24       	movzbl (%r12),%eax
    1362:	88 45 bf             	mov    %al,-0x41(%rbp)
    1365:	48 8b 55 d0          	mov    -0x30(%rbp),%rdx
    1369:	48 8b 45 c8          	mov    -0x38(%rbp),%rax
    136d:	48 89 c6             	mov    %rax,%rsi
    1370:	48 8d 3d cb 0c 00 00 	lea    0xccb(%rip),%rdi        # 2042 <_IO_stdin_used+0x42>
    1377:	b8 00 00 00 00       	mov    $0x0,%eax
    137c:	e8 ef fc ff ff       	callq  1070 <printf@plt>
    1381:	4c 89 e0             	mov    %r12,%rax
    1384:	4c 8d 60 01          	lea    0x1(%rax),%r12
    1388:	0f b6 13             	movzbl (%rbx),%edx
    138b:	88 10                	mov    %dl,(%rax)
    138d:	48 89 d8             	mov    %rbx,%rax
    1390:	48 8d 58 01          	lea    0x1(%rax),%rbx
    1394:	0f b6 55 bf          	movzbl -0x41(%rbp),%edx
    1398:	88 10                	mov    %dl,(%rax)
    139a:	48 8b 55 d0          	mov    -0x30(%rbp),%rdx
    139e:	48 8b 45 c8          	mov    -0x38(%rbp),%rax
    13a2:	48 89 c6             	mov    %rax,%rsi
    13a5:	48 8d 3d 96 0c 00 00 	lea    0xc96(%rip),%rdi        # 2042 <_IO_stdin_used+0x42>
    13ac:	b8 00 00 00 00       	mov    $0x0,%eax
    13b1:	e8 ba fc ff ff       	callq  1070 <printf@plt>
    13b6:	49 83 ed 01          	sub    $0x1,%r13
    13ba:	4d 85 ed             	test   %r13,%r13
    13bd:	75 9e                	jne    135d <main+0xf8>
    13bf:	b8 00 00 00 00       	mov    $0x0,%eax
    13c4:	48 8b 4d d8          	mov    -0x28(%rbp),%rcx
    13c8:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    13cf:	00 00 
    13d1:	74 05                	je     13d8 <main+0x173>
    13d3:	e8 88 fc ff ff       	callq  1060 <__stack_chk_fail@plt>
    13d8:	48 83 c4 38          	add    $0x38,%rsp
    13dc:	5b                   	pop    %rbx
    13dd:	41 5c                	pop    %r12
    13df:	41 5d                	pop    %r13
    13e1:	5d                   	pop    %rbp
    13e2:	c3                   	retq   
    13e3:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
    13ea:	00 00 00 
    13ed:	0f 1f 00             	nopl   (%rax)

00000000000013f0 <__libc_csu_init>:
    13f0:	f3 0f 1e fa          	endbr64 
    13f4:	41 57                	push   %r15
    13f6:	4c 8d 3d b3 29 00 00 	lea    0x29b3(%rip),%r15        # 3db0 <__frame_dummy_init_array_entry>
    13fd:	41 56                	push   %r14
    13ff:	49 89 d6             	mov    %rdx,%r14
    1402:	41 55                	push   %r13
    1404:	49 89 f5             	mov    %rsi,%r13
    1407:	41 54                	push   %r12
    1409:	41 89 fc             	mov    %edi,%r12d
    140c:	55                   	push   %rbp
    140d:	48 8d 2d a4 29 00 00 	lea    0x29a4(%rip),%rbp        # 3db8 <__do_global_dtors_aux_fini_array_entry>
    1414:	53                   	push   %rbx
    1415:	4c 29 fd             	sub    %r15,%rbp
    1418:	48 83 ec 08          	sub    $0x8,%rsp
    141c:	e8 df fb ff ff       	callq  1000 <_init>
    1421:	48 c1 fd 03          	sar    $0x3,%rbp
    1425:	74 1f                	je     1446 <__libc_csu_init+0x56>
    1427:	31 db                	xor    %ebx,%ebx
    1429:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1430:	4c 89 f2             	mov    %r14,%rdx
    1433:	4c 89 ee             	mov    %r13,%rsi
    1436:	44 89 e7             	mov    %r12d,%edi
    1439:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    143d:	48 83 c3 01          	add    $0x1,%rbx
    1441:	48 39 dd             	cmp    %rbx,%rbp
    1444:	75 ea                	jne    1430 <__libc_csu_init+0x40>
    1446:	48 83 c4 08          	add    $0x8,%rsp
    144a:	5b                   	pop    %rbx
    144b:	5d                   	pop    %rbp
    144c:	41 5c                	pop    %r12
    144e:	41 5d                	pop    %r13
    1450:	41 5e                	pop    %r14
    1452:	41 5f                	pop    %r15
    1454:	c3                   	retq   
    1455:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    145c:	00 00 00 00 

0000000000001460 <__libc_csu_fini>:
    1460:	f3 0f 1e fa          	endbr64 
    1464:	c3                   	retq   

Disassembly of section .fini:

0000000000001468 <_fini>:
    1468:	f3 0f 1e fa          	endbr64 
    146c:	48 83 ec 08          	sub    $0x8,%rsp
    1470:	48 83 c4 08          	add    $0x8,%rsp
    1474:	c3                   	retq   
